@echo off
set PYTHONDONTWRITEBYTECODE=x
cd /D "%~dp0"
cls
cd greatagent2-ga
git rev-list HEAD >git.txt
python27 makehash.py
python27 sign.py
del /f /s /q git.txt
del /f /s /q *.pyc
del /f /s /q *.pyo
pause
git config --global push.default matching
git config core.autocrlf false
git init
git add --all .
git add -u
git commit -m"bat"
git push https://code.google.com/p/greatagent2-test.ga/ +master
pause
git push https://code.google.com/p/greatagent2-ga.ga/ +master
start /min git push https://code.google.com/p/greatagent2-fxga.ga/ +master
start /min git push https://code.google.com/p/greatagent2-saga.ga/ +master
start /min git push https://code.google.com/p/greatagent2-opga.ga/ +master
pause
git push https://code.google.com/p/greatagent2-wp.ga/ +master
start /min git push https://code.google.com/p/greatagent2-fxwp.ga/ +master
start /min git push https://code.google.com/p/greatagent2-sawp.ga/ +master
start /min git push https://code.google.com/p/greatagent2-opwp.ga/ +master
pause
git push git@github.com:greatagent2/ga.git +master
git push git@git.oschina.net:greatagent2/ga.git +master
git push git@gitcafe.com:greatagent2/ga.git +master
git push git@gitshell.com:greatagent2/ga.git +master
git push git@code.csdn.net:greatagent2/ga.git +master
git push https://code.google.com/p/greatagent2-ga/ +master
git push https://code.google.com/p/greatagent2-bkga.ga/ +master
start /min git push https://code.google.com/p/greatagent2-bkwp.ga/ +master
pause
cd ..
rmdir /S /Q greatagent2-ga-Release
mkdir greatagent2-ga-Release
xcopy greatagent2-ga\* greatagent2-ga-Release /s /e
pause
del /f /s /q greatagent2-ga-Release\sha1.ini
del /f /s /q greatagent2-ga-Release\sha1.sign
rmdir /S /Q greatagent2-ga-Release\.git
rmdir /S /Q greatagent2-ga-Release\FirefoxPortable
pause
cd greatagent2-ga
git gc
pause